package com.sc.nft.entity.dto;

import com.google.common.collect.Lists;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.hibernate.validator.constraints.Range;

import javax.validation.constraints.NotNull;

@Data
public class OrderFirstPayDTO {

    @ApiModelProperty("类型 0、特权卡 1、藏品 2、白名单")
    @NotNull(message = "请输入优先购类型")
    @Range(min = 1,max = 2,message = "优先购类型不正确")
    private Integer type;

    @ApiModelProperty("藏品UUId")
    private String collectionUuid;

    @ApiModelProperty("数量")
    private Integer count;
}
